#include "form.h"
#include "ui_form.h"
#include<QPainter>
#include"form2.h"
Form::Form(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Form)
{
    ui->setupUi(this);
}

Form::~Form()
{
    delete ui;
}


void Form::on_pushButton_4_clicked()
{
    this->close();
    Form2 *f=new Form2();
    f->show();
}

void Form::on_pushButton_clicked()
{
    ui->listWidget->addItem("");//介绍迪卢克
}

void Form::on_pushButton_2_clicked()
{
    ui->listWidget->addItem("");//介绍凯亚
}

void Form::on_pushButton_3_clicked()
{
    ui->listWidget->addItem("");//介绍丘丘王
}
